<?if(MEMBER):?>
<li>
	<a class="tab <?=APP=='friend'?' selected':''?>" href="/friend"><?=dgettext('friend','Friends')?></a>
	<ul class="pulldown">
		<li>
			<a class="<?=APP=='friend'&&CMD=='requests'?' selected':''?>" href="/friend/requests"><?=dgettext('friend','Requests')?></a>
		</li>
		<li class="last">
			<a class="<?=APP=='friend'&&CMD=='online'?' selected':''?>" href="/friend/online"><?=dgettext('friend','Online')?></a>
		</li>
	</ul>
</li>
<?endif;?>